package StudyCode.summary.Basic.myint;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class IntListEven {
	public static void main(String[] args) {
		int limit = 30;
		System.out.println("1 到 " + limit + " 的偶数是:");
		for (int i = 1; i <= limit; i++) {
			if (i % 2 == 0) {
				System.out.print(i + " ");
			}
		}
	}
}
